home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8559 < prev    next >
Encoding:
Text File  |  1996-08-05  |  880 b   |  30 lines

  1. Newsgroups: comp.lang.c++
  2. Path: hkusuc.hku.hk!hkusua!h9310804
  3. From: h9310804@hkusua.hku.hk (So Hon Chu Patrick)
  4. Subject: Problem about Visual C++...
  5. X-Nntp-Posting-Host: hkusua.hku.hk
  6. Message-ID: <DMyJCJ.ACr.0.-s@hkusuc.hku.hk>
  7. Sender: usenet@hkusuc.hku.hk
  8. Organization: The University of Hong Kong
  9. X-Newsreader: TIN [version 1.1 PL6]
  10. Date: Sun, 18 Feb 1996 06:00:18 GMT
  11.  
  12.  
  13. Hi:
  14.     In visual C++, I want to invoke another DOS program (lets say
  15.     a.exe). I use the function call winexec() to do this but when
  16.     a.exe is being executed, the DOS prompt comes out and the DOS
  17.     prompt will disappear when the execution of a.exe is completed.
  18.  
  19.     My question is how can I execute the a.exe in the background and
  20.     skip the appear of the DOS prompt (There is no visual output
  21.     from a.exe)?
  22.  
  23.     Thank you very much.
  24.  
  25. 18/2/1996
  26. by So Hon Chu Patrick.
  27. University of Hong Kong.
  28. h9310804@hkusua.hku.hk
  29.  
  30.